<template>
    <div>
        {{arr}}
    </div>
</template>

<script>
import { mapActions,mapState} from "vuex"
export default {
    methods:{
        ...mapActions(["getList"])
    },
    computed:{
        ...mapState(["arr"])
    },
    mounted(){
        this.getList()
    }

}
</script>

<style>

</style>